﻿using System;
using SqlSugar;

namespace SoEasyPlatform.LayUiExample.Enties.DbModels
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("sys_dept")]
    public partial class sys_dept
    {
           public sys_dept(){


           }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
           public int id {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? pid {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string title {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? open {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string remark {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string address {get;set;}

           /// <summary>
           /// Desc:状态【0不可用1可用】
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? available {get;set;}

           /// <summary>
           /// Desc:排序码【为了调事显示顺序】
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? ordernum {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? createtime {get;set;}

    }
}
